import React, { Component } from 'react';
import './App.css';
import SeachBox from './SeachBox.js'

class App extends Component {
  reMessage = (value) => {
    console.log(value)
  }

  render (){
    return (
      <div className="App">
        <SeachBox sendMessage={this.reMessage} placeholder="请输入内容"/>
      </div>
    )
  }
}

export default App;
